<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>我的商城</title>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="/js/bootstrap-4.1.1-dist/css/bootstrap.min.css">
    <script src="/js/jquery/jquery.min.js"></script>
    <script src="/js/bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
    <script src="/js/plugins/jrender/jrender.min.js"></script>
    <link rel="stylesheet" href="/css/font/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="/css/reset.css"/>
    <link rel="stylesheet" href="/css/userTravels.css"/>
    <link rel="stylesheet" href="/js/plugins/dialog2/dialog.css"/>
    <script src="/js/plugins/dialog2/dialog.min.js"></script>
    <script src="/js/common.js"></script>
    <script src="/js/checkLogin.js"></script>



    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>商品种类</title>
    <link rel="stylesheet" href="/js/bootstrap-4.1.1-dist/css/bootstrap.min.css">
    <script src="/js/jquery/jquery.min.js"></script>
    <script src="/js/bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="/css/font/css/font-awesome.min.css">
    <link rel="stylesheet" href="/css/reset.css"/>
    <link rel="stylesheet" href="/css/travelContent.css"/>
    <script src="/js/plugins/jrender/jrender.min.js"></script>
    <link rel="stylesheet" href="/js/plugins/dialog2/dialog.css"/>
    <script src="/js/plugins/dialog2/dialog.min.js"></script>
    <script src="/js/common.js"></script>
    <script>
        $(function () {
            var user = JSON.parse(sessionStorage.getItem("user"));//得到的是登录的用户的信息
            $(".loginInfo").renderValues(user)
            //查找当前用户拥有的积分
            $.get(baseUrl+"/users/"+user.id+"/mark",function (data) {
                $(".header_top").renderValues(data)
            })
        })
    </script>
</head>
<body>
<!--header start-->
<div class="header">
    <div class="header_top">
            <div class="left loginInfo"><a href="/mine/profiles.html">
                <img src="/img/commodity/left.png" alt="返回上一层" width="10px"></a>&nbsp;欢迎来到无忧商城！</br>
                <hr/>
                &nbsp;我的账户:
                <a href="/mine/profiles.html" render-html="nickName" style="color:#3e97ff;"></a>&nbsp;&nbsp;&nbsp;&nbsp;
                <br/> <img render-src="headImgUrl" width="50px"><br/>

                <hr/>
                积分: <a href="#" render-html="mark" style="color:#1c7430;"></a>&nbsp;&nbsp;&nbsp;&nbsp;<br/>
                积分等级:<a href="#" render-html="levelName" style="color:#6f42c1"></a><br/><hr/>
            </div>
        </div>
    </div>
    <div class="main">
        <div class="logo"><a href="#"><img src="/img/commodity/logo.jpg" /></a></div>
        <!--<div class="search">-->
        <!--<input type="text" name="keyword" class="txt" placeholder="搜索你需要的商品名称" />-->
        <!--<input type="button" class="btn-sou" value="搜索"/>-->
        <!--</div>-->
    </div>
</div>


<div class="main">
    <div class="sy_four">
        <a href="#" class="prev"></a>
        <a href="#" class="next"></a>
        <ul  id="example">
            <li>
                <h3><a href="#">无忧图书</a></h3>
                <a href="/mine/commodityDetail.html?kind=1"><img src="/img/commodity/timg.jpg" width="250px"/></a><hr/>
                <h3><a href="#">无忧服饰</a></h3>
                <a href="/mine/commodityDetail.html?kind=2"><img src="/img/commodity/timg (1).jpg" width="250px"/></a><hr/>
                <h3><a href="#">无忧食品</a></h3>
                <a href="/mine/commodityDetail.html?kind=3"><img src="/img/commodity/timg (2).jpg" width="250px"/></a><hr/>
                <h3><a href="#">无忧数码</a></h3>
                <a href="/mine/commodityDetail.html?kind=4"><img src="/img/commodity/timg (3).jpg" width="250px"/></a><hr/>
                <h3><a href="#">暂请期待</a></h3>
                <img src="/img/commodity/001.jpg" width="300px"/>
            </li>
        </ul>
    </div>
</div>


<!--footer end-->
<div class="footer_one">

    <div class="bottom">
        <a href="#"><img src="/img/commodity/img_02.png" alt="微信" /></a>
        <a href="#"><img src="/img/commodity/img_03.png" alt="微博" /></a>
        <a href="#"><img src="/img/commodity/img_04.png" alt="QQ" /></a>
    </div>
</div>
</body>
</html>
